﻿using Microsoft.AspNetCore.Mvc;
using ZhCun.RightsManage.BLL;
using ZhCun.WebUtils;

namespace ZhCun.RightsManage.Controllers
{    
    public class HomeController : BasePageController<HomeBLL>
    {        
        public IActionResult Index()
        {
            var vm = BLLObj.GetHomeModel();
            vm.UserName = CurrUserName;            
            return View(vm);
        }

        public IActionResult Console()
        {
            return View();
        }

        public IActionResult Test()
        {
            return View();
        }

        public IActionResult TreeTable()
        {
            return View();
        }
    }
}